package com.app.web.sys.banner;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class BannerService {

    @Autowired
    private BannerDao bannerDao;

    /**
     * 获取所有广告
     * @return
     */
    public List<Map<String,Object>> list() {
        return bannerDao.list();
    }
}
